package httpdGet;

import java.io.*;
import java.net.*;

public class HttpdGet{
    
    ServerSocket ss;
    HttpdConnection hC;
    
    HttpdGet(int port){
        try {
            ss = new ServerSocket(port);
            System.out.println(ss.getLocalSocketAddress());
            
            while (true){
                hC = new HttpdConnection( ss.accept());
                hC.start();
            }
            
        } catch (IOException ex) {
        }
        
    }
    public static void main(String args[]) {
        HttpdGet h = new HttpdGet(1111);
    }
}
